package com.zj.base.base_act;

import com.zj.base.httpclien.HttpClient;
import com.zj.base.permission.interfaces.OnPermissionCheckListener;

import java.util.Map;

/**
 * Created by zhaojie on 2018/4/10.
 */

public interface OnHttpDataReceiveIn {

    void onHttpDataReceived(Object data, int reqCode, HttpClient.DataType type);

    void onHttpError(String msg, int errorCode, int reqCode, HttpClient.DataType type);

    void onHttpProgressChange(int reqCode, float progress);

    void onPermissionsCheck(Map<String, Boolean> permissions, OnPermissionCheckListener l);


}
